//
//  MoneyDetail.m
//  WGFGlobalHouses
//
//  Created by waiguofang on 15/5/4.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//

#import "MoneyDetail.h"

@interface MoneyDetail()
@property (weak, nonatomic) IBOutlet UIView *view1;
@property (weak, nonatomic) IBOutlet UIView *view2;
@property (weak, nonatomic) IBOutlet UIView *view3;
@property (weak, nonatomic) IBOutlet UIView *view4;
@property (weak, nonatomic) IBOutlet UIView *view5;
@property (weak, nonatomic) IBOutlet UILabel *H_lab;
@property (weak, nonatomic) IBOutlet UILabel *w_lab;

@end

@implementation MoneyDetail

+(instancetype)initWithXib
{
    return [[[NSBundle mainBundle]loadNibNamed:@"MoneyDetail" owner:nil options:nil]lastObject];
}


-(void)layoutSubviews
{

    self.view1.frame = CGRectMake(0, 0, self.frame.size.width/3, 88);
    self.view2.frame = CGRectMake(self.frame.size.width/3, 0, self.frame.size.width/3, 44);
    self.view3.frame = CGRectMake(self.frame.size.width/3, 44, self.frame.size.width/3.0, 44);
    self.view4.frame = CGRectMake((self.frame.size.width/3.0)*2, 0, self.frame.size.width/3.0, 44);
    self.view5.frame = CGRectMake((UIScreenWidth/3.0)*2, 44, UIScreenWidth/3.0, 44);
    self.H_lab.frame = CGRectMake(UIScreenWidth/3.0-1, 44,(UIScreenWidth/3.0)*2, 1);
    self.w_lab.frame = CGRectMake((UIScreenWidth/3.0)*2-1, 0, 1, 88);

}



@end
